L1-004 计算摄氏温度
题目 计算摄氏温度
思路分析
代码实现
#include<bits/stdc++.h>
using namespace std;
#define endl '\n'
int main()
{
ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
int F;cin>>F;
cout<<"Celsius = "<<5*(F-32)/9;
return 0;
}
同类题型
视频讲解
⬅️ L1-003 个位数统计 🏠 00-天梯赛 ➡️ L1-005 考试座位号
💬 评论